package com.chen.sjn;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.Switch;

import com.chen.deskclock.BaseActivity;
import com.chen.deskclock.R;

/**
 * 主要功能
 * 1、在item1上的按钮开启后，显示item2这个线性布局
 * 2、item1上的按钮开启后，【开启生活早报】功能
 */
public class MorningNews extends BaseActivity {

    private Switch mSwitch;
    private LinearLayout mll_morning_news_item2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_moring_news);

        mSwitch = (Switch) findViewById(R.id.sw_morning_news_1);
        mll_morning_news_item2 = (LinearLayout) findViewById(R.id.ll_morning_news_2);
    }


}